package com.cmf.myproject.service.user.dto;

import java.util.Date;

import javax.validation.constraints.Size;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class UserUpdateItemReqDto {
	/**
	 * (user)
	 */
	@ApiModelProperty(value = "")
	private Long id;
	/**
	 * 用户名(user)
	 */
	@ApiModelProperty(value = "用户名")
	@Size(min = 0,max = 20,message ="userName字段超过限长（20）")
	private String userName;
	/**
	 * 密码(user)
	 */
	@ApiModelProperty(value = "密码")
	@Size(min = 0,max = 100,message ="password字段超过限长（50）")
	private String password;
	/**
	 * 昵称/备注名(user)
	 */
	@ApiModelProperty(value = "昵称/备注名")
	@Size(min = 0,max = 20,message ="nick字段超过限长（20）")
	private String nick;
	/**
	 * 职位名称(user)
	 */
	@ApiModelProperty(value = "职位名称")
	@Size(min = 0,max = 50,message ="position字段超过限长（50）")
	private String position;
	/**
	 * 电话号码(user)
	 */
	@ApiModelProperty(value = "电话号码")
	@Size(min = 0,max = 20,message ="phone字段超过限长（20）")
	private String phone;
	/**
	 * (user)
	 */
	@ApiModelProperty(value = "")
	private com.system.core.enums.YesOrNoEnum isLocked;
	/**
	 * 外键-用户权限关系ID(user)
	 */
	@ApiModelProperty(value = "外键-用户权限关系ID")
	private Long userRoleId;
	/**
	 * (user)
	 */
	@ApiModelProperty(value = "")
	private com.cmf.myproject.dal.mybatis.enums.UserPersonStatusEnum personStatus;
	/**
	 * (user)
	 */
	@ApiModelProperty(value = "")
	private com.cmf.myproject.dal.mybatis.enums.UserSexEnum sex;
	/**
	 * (user)
	 */
	@ApiModelProperty(value = "")
	private Date createTime;
	/**
	 * (user)
	 */
	@ApiModelProperty(value = "")
	private Date updateTime;
}